package one.stand.mapper;

import one.stand.entity.WxNoticeEntity;
import one.stand.model.OrdersModel;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author Administrator
 */
public interface OrdersMapper {
    int deleteByPrimaryKey(Integer ordersId);

    int insertSelective(OrdersModel record);

    OrdersModel selectByPrimaryKey(Integer ordersId);

    OrdersModel selectPaymentInfo(Integer ordersId);

    List<OrdersModel> selectAssemblePayment(Integer assembleId);

    List<OrdersModel> selectAnotherOrder(Integer ordersId);

    List<OrdersModel> getOrderList(OrdersModel model);

    List<OrdersModel> getOrderListPc(OrdersModel model);

    List<Map<String, Object>> getOrderListCount(OrdersModel model);

    List<OrdersModel> getOrderInfo(OrdersModel model);

    OrdersModel select(OrdersModel model);

    int updateByPrimaryKeySelective(OrdersModel model);

    int updateOrderAddress(OrdersModel model);

    int updateOrderState(OrdersModel model);

    List<WxNoticeEntity> getSendTemplateInfo(OrdersModel model);

    OrdersModel getGoPayOrderInfo(OrdersModel model);

    List<OrdersModel> payOrderlist(OrdersModel model);

    List<OrdersModel> allOrderAmountlist(OrdersModel model);

    List<OrdersModel> selectRoyaltyOrderList(OrdersModel model);

    OrdersModel selectRoyaltyOrderInfo(OrdersModel model);

    Integer updateDeliveryTimeOrderState(OrdersModel model);

    Integer updateTimingUpdateOrderState(OrdersModel model);

    List<OrdersModel> verificationAssemble(Integer ordersId);
}